<template>
	<view class="registrationDetailBox">
		<view class="registrationDetail">
			<view class="title">挂号详情</view>
			<view class="contentList">
				<view class="contentItem">
					<view class="label">订单号</view>
					<view class="value">wx852456123789963</view>
				</view>
				<view class="contentItem">
					<view class="label">就诊人</view>
					<view class="value">小明</view>
				</view>
				<view class="contentItem">
					<view class="label">预约日期</view>
					<view class="value">2022-04-02</view>
				</view>
				<view class="contentItem">
					<view class="label">预约时间</view>
					<view class="value">08:00</view>
				</view>
				<view class="contentItem">
					<view class="label"> 就诊时间 </view>
					<view class="value">2022-04-02 08:00</view>
				</view>
				<view class="contentItem">
					<view class="label">就诊状态</view>
					<view class="value">待就诊</view>
				</view>
				<view class="contentItem">
					<view class="label">就诊医生</view>
					<view class="value">医生姓名</view>
				</view>
				<view class="contentItem">
					<view class="label">就诊科室</view>
					<view class="value">消化内科</view>
				</view>
				<view class="contentItem">
					<view class="label">就诊诊室</view>
					<view class="value">消化内科一号诊室</view>
				</view>
				<view class="contentItem">
					<view class="label">下单时间</view>
					<view class="value">2022/03/22</view>
				</view>
			</view>
		</view>
		<view class="cancelReservation">取消预约</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>
<style>
	page {
		width: 100%;
		height: 100%;
		background: #F8F8F8;
	}
</style>
<style scoped lang="scss">
	.registrationDetailBox {
		height: 100%;
		padding: 0 40rpx;

		.registrationDetail {
			margin-top: 20rpx;
			background-color: #FFFFFF;

			.title {
				height: 66rpx;
				padding: 0 20rpx;
				line-height: 66rpx;
				background: #E1E1E1;
				font-size: 32rpx;
				color: #141414;
			}

			.contentList {
				display: flex;
				flex-direction: column;
				font-size: 28rpx;
				color: #6D6D6D;

				.contentItem {
					display: flex;
					align-items: center;
					justify-content: space-between;
					border-bottom: 1px dashed #C1C1C1;
					height: 66rpx;
					padding: 0 20rpx;
					line-height: 66rpx;
				}
				.contentItem:last-child{
					border: 0;
				}
			}
		}
		.cancelReservation {
			width: 600rpx;
			height: 90rpx;
			background: linear-gradient(90deg, #4D80FD 0%, #68CAF6 100%);
			border-radius: 16rpx;
			color: #FFFFFF;
			display: flex;
			margin:72rpx auto 0;
			align-items: center;
			justify-content: center;
		}
	}
</style>
